package com.beone.smart.smartBeauty.model.form;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Created by bruce on 20/2/16 -- 16:18
 */
@Data
public class GoodsUpdateForm {
    //记录的主键id
    @NotNull
    private String id;

    private String imgUrl;
    /**
     * 商品标题
     */
    private String title;
    /**
     * 描述内容
     */
    private String content;
    /**
     * 单价
     */
    private double price;
    /**
     * 库存
     */
    private int inventory;
}
